package com.score.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TCheckDorm{
    @ApiModelProperty("查寝ID")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("栋数")
    private String tung;
    @ApiModelProperty("寝室号")
    private String dormNum;
    @ApiModelProperty("查寝时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date checkTime;
    @ApiModelProperty("寝室状态")
    private String state;
    @ApiModelProperty("班级名称")
    private String className;
    @ApiModelProperty("学院")
    private String college;
    @ApiModelProperty("合格描述")
    private String qualifiedDescribe;
    @ApiModelProperty("合格图片")
    private String qualifiedPicture;
    @ApiModelProperty("不合格描述")
    private String unqualifiedDescribe;
    @ApiModelProperty("不合格图片")
    private String unqualifiedPicture;
    @ApiModelProperty("反馈描述")
    private String feedbackDescribe;
    @ApiModelProperty("反馈图片")
    private String feedbackPicture;
    @ApiModelProperty("班主任是否已读")
    private String readIt;
    @ApiModelProperty("学生是否已读")
    private String stuReadIt;
    @ApiModelProperty("辅导员是否已读")
    private String fdyReadIt;
    @ApiModelProperty("班主任反馈是否已读")
    private String feedbackReadIt;
    @ApiModelProperty("辅导员反馈是否已读")
    private String fdyFeedbackReadIt;
    @Version //乐观锁Version注解
    private Integer version;
    @ApiModelProperty("查寝人员")
    private String checker;
}
